package com.bootdo.imgtext.check.impl;

import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;

import com.bootdo.imgtext.check.CheckService;

public class GwnImpl extends CheckService{

	public GwnImpl(String url) {
		Document doc = getDoc(url);
		
		if (doc==null) {
			return;
		}
		
		author = doc.select("span#source").text().trim();
		
		Elements imgs = doc.select("div#contentMain").select("img[src]");
		checkImgs(imgs);
	}
}
